The following lines of JavaScript will display the date the page was last updated.
document.write("This page has been updated: " +
document.lastModified);